<!DOCTYPE html>
<html lang="zh">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="keywords" content="">
  <meta name="description" content="">
  <title>用户列表</title>
  <link href="/static/css/bootstrap.min.css" rel="stylesheet"/>
  <link rel="stylesheet" href="/static/include/css/style.css">
  <link href="/static/ajax/libs/jquery-ztree/3.5/css/metro/zTreeStyle.css" rel="stylesheet"/>
  <style>
    .ui-layout-content{
      overflow-y: auto
    }
  </style>
</head>
<body class="gray-bg">
<div class="ui-layout-west">
  <div class="box box-main">
    <div class="box-header">
      <div class="box-title">
        <i class="fa icon-grid"></i> 组织机构
      </div>
      <div class="box-tools pull-right">
        <button type="button" class="btn btn-box-tool" id="btnExpand" title="展开" style="display:none;"><i
            class="fa fa-chevron-up"></i></button>
        <button type="button" class="btn btn-box-tool" id="btnCollapse" title="折叠"><i class="fa fa-chevron-down"></i>
        </button>
        <button type="button" class="btn btn-box-tool" id="btnRefresh" title="刷新部门"><i class="fa fa-refresh"></i>
        </button>
      </div>
    </div>
    <div class="ui-layout-content">
      <div id="tree" class="ztree"></div>
    </div>
  </div>
</div>

<div class="ui-layout-center">
  <div class="container-div">
    <div class="row">
      <div class="col-sm-12 search-collapse">
        <form id="user-form">
          <input type="hidden" id="deptId" name="deptId">
          <div class="select-list">
            <ul>
              <li>
                登录名称：<input type="text" name="loginname"/>
              </li>
              <!--              <li>-->
              <!--                手机号码：<input type="text" name="phone"/>-->
              <!--              </li>-->
              <li>
                用户名：<input type="text" name="username"/>
              </li>
              <!--              <li>-->
              <!--                用户状态：<select name="lockFlag">-->
              <!--                <option value="">所有</option>-->
              <!--                <option value="0">有效</option>-->
              <!--                <option value="9">锁定</option>-->
              <!--              </select>-->
              <!--              </li>-->
              <li>
                <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
                <a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
              </li>
            </ul>
          </div>
        </form>
      </div>

      <div class="btn-group-sm" id="toolbar" role="group">

      </div>

      <div class="col-sm-12 select-table table-striped">
        <table id="bootstrap-table"></table>
      </div>
    </div>
  </div>
</div>

<script id="toolbarTpl" type="text/html">
  {{# if(d.sys_user_add){ }}
  <a class="btn btn-success" onclick="$.operate.addTab()">
    <i class="fa fa-plus"></i> 新增
  </a>
  {{# } }}
<!--  {{# if(d.sys_user_del){ }}
  <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()">
    <i class="fa fa-remove"></i> 删除
  </a>
  {{# } }}-->
<!--<a class="btn btn-info" onclick="$.table.importExcel()">
    <i class="fa fa-upload"></i> 导入
  </a>-->
<!--  <a class="btn btn-warning" onclick="$.table.exportMyExcel()">-->
<!--    <i class="fa fa-download"></i> 导出-->
<!--  </a>-->
</script>

<script src="/static/include/js/footer.js"></script>
<script src="/static/ajax/libs/jquery-layout/jquery.layout-latest.js"></script>
<script src="/static/ajax/libs/jquery-ztree/3.5/js/jquery.ztree.all-3.5.js"></script>
<script src="/static/pages/sysadm/user/userList.js"></script>
</body>
<!-- 导入区域 -->
<script id="importTpl" type="text/template">
  <form enctype="multipart/form-data" class="mt20 mb10" id="import-form">
    <div class="col-xs-offset-1">
      <input type="file" id="file" name="file"/>
      <input type="checkbox" id="submitType" name="updateSupport" hidden>
      <div class="mt10 pt5">
        <input type="checkbox" id="updateSupport" name="updateSupport" title="如果登录账户已经存在，更新这条数据。"> 是否更新已经存在的用户数据
        &nbsp; <a onclick="importTemplate()" class="btn btn-default btn-xs"><i class="fa fa-file-excel-o"></i>
        下载模板</a>
      </div>
      <font color="red" class="pull-left mt10">
        提示：仅允许导入“xls”或“xlsx”格式文件！
      </font>
    </div>
  </form>
</script>
</html>